package com.example.Service;

public class SmsResponse {
    private String phoneNumber;
    private String verificationId;
    private String code; // 添加验证码字段

    // 构造函数
    public SmsResponse(String phoneNumber, String verificationId, String code) {
        this.phoneNumber = phoneNumber;
        this.verificationId = verificationId;
        this.code = code;
    }

//    get和set

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getVerificationId() {
        return verificationId;
    }

    public void setVerificationId(String verificationId) {
        this.verificationId = verificationId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "SmsResponse{" +
                "phoneNumber='" + phoneNumber + '\'' +
                ", verificationId='" + verificationId + '\'' +
                ", code='" + code + '\'' +
                '}';
    }
}
